package kr.hkit.powerjava.chapter7.G;

public class 반복2 {
	public static void main(String[] args) {
		int a,b,c,d,e,f,i;
		
		a=1206;
		b=a/1000%10;
		c=a/100%10;
		d=a/10%10;
		f=a/1%10;
		
		System.out.println(b+""+""+c+""+d+""+f);
	}

}
